package pe.com.casadesign.domain;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("ListaLineaVentaItem")
public class ListaLineaVentaItem {
	private List<LineaVentaItem> lista;
	
	public ListaLineaVentaItem(){
		lista = new ArrayList<LineaVentaItem>();
	}
	
	public void add(LineaVentaItem lineaVentaItem){
		lista.add(lineaVentaItem);
	}
	
	public void remove(LineaVentaItem lineaVentaItem){
		lista.remove(lineaVentaItem);
	}
	
	public int size(){
		return lista.size();
	}

	public List<LineaVentaItem> getLista() {
		return lista;
	}

	public void setLista(List<LineaVentaItem> lista) {
		this.lista = lista;
	}
}
